package com.caration.shell.item;

import android.content.ContentValues;

public class ItemInfo {
	public long mId = -1;
	public int mItemType;
	public int mContainer = -1;
	public int mScreen = -1;
	public int mCellX = -1;
	public int mCellY = -1;
	public int mRotate;
	public int mSpanX = 1;
	public int mSpanY = 1;
	public byte mData[];
	public boolean mJustType;

	public ItemInfo() {
	}

	public void a() {
	}

	public void putValue(ContentValues contentvalues) {
		contentvalues.put("itemType", Integer.valueOf(mItemType));
		if (!mJustType) {
			contentvalues.put("container", Integer.valueOf(mContainer));
			contentvalues.put("screen", Integer.valueOf(mScreen));
			contentvalues.put("cellX", Integer.valueOf(mCellX));
			contentvalues.put("cellY", Integer.valueOf(mCellY));
			contentvalues.put("spanX", Integer.valueOf(mSpanX));
			contentvalues.put("spanY", Integer.valueOf(mSpanY));
		}
	}

	public void b() {
	}

	public void c() {
	}

	public String toString() {
		return (new StringBuilder("Item(id=")).append(mId).append(" type=")
				.append(mItemType).append(")").toString();
	}
}
